package com.aaa.ssm.service;

import com.aaa.ssm.entity.Subscribe;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;


/**
 * @author wjz
 * 2023/10/13
 */
public interface SubscribeService {


    /**
     * 添加
     *
     * @param subscribe
     * @return
     */
    int add(Subscribe subscribe);


    PageInfo queryByParam(Page<Subscribe> page);
    /**
     * 查询
     */
    List<Subscribe> selectAll(Subscribe subscribe);

//    Subscribe selectById(String name);

    //前台挂号添加
    int insert(Subscribe subscribe);

    List<Subscribe> selectById(Integer id);
    /**
     * 医生名字

     */
//    List<Subscribe> selectById(Subscribe subscribe);
    Subscribe querySchedulingInfo( String careerId, String date);
}
